FrameMapper

class FrameMapper

FrameMapper is responsible for (de)serializing frames exchanged via Chrome's DevTool Protocol.

Constructors

FrameMapper
Link copied to clipboard
fun FrameMapper()

Functions

deserializeWebSocketMessage
Link copied to clipboard
fun deserializeWebSocketMessage(text: String): WebSocketFrame
Deserialize provided frame JSON text to WebSocketFrame.
serialize
Link copied to clipboard
fun serialize(requestFrame: RequestFrame): String
Serializes request frame using internal object mapper

Sources

jvm source
Link copied to clipboard